package com.lovo.test.ScissorsGame;

/**
 * 角色类
 */
public abstract class Role {
    //封装两个属性
    private int sum;  //积分
    private int number; //出拳

    abstract public void scissors(); //抽象方法

    public int getSum() {
        return sum;
    }

    public void setSum(int sum) {
        this.sum = sum;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }
}